package com.san.hkhospital.service.impl;

import com.san.hkhospital.entity.StateExample;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.san.hkhospital.entity.ExaitemExample;
import com.san.hkhospital.entity.Exaitem;
import java.util.List;
import com.san.hkhospital.mapper.ExaitemMapper;
import com.san.hkhospital.service.ExaitemService;
import org.springframework.transaction.annotation.Transactional;

/**
 * ClassName:ExaitemServiceImpl
 * PackageName:com.san.hkhospital.service.impl
 * Description:
 *
 * @Author:yy
 * @CreatedAt:2024/11/13 14:38
 * 
 */
 
 
@Service
@Transactional
public class ExaitemServiceImpl implements ExaitemService{

    @Resource
    private ExaitemMapper exaitemMapper;

    @Override
    public long countByExample(ExaitemExample example) {
        return exaitemMapper.countByExample(example);
    }

    @Override
    public int deleteByExample(ExaitemExample example) {
        return exaitemMapper.deleteByExample(example);
    }

    @Override
    public int deleteByPrimaryKey(Integer exaitemId) {
        return exaitemMapper.deleteByPrimaryKey(exaitemId);
    }

    @Override
    public int insert(Exaitem record) {
        return exaitemMapper.insert(record);
    }

    @Override
    public int insertSelective(Exaitem record) {
        return exaitemMapper.insertSelective(record);
    }

    @Override
    public List<Exaitem> selectByExample(ExaitemExample example) {
        return exaitemMapper.selectByExample(example);
    }

    @Override
    public Exaitem selectByPrimaryKey(Integer exaitemId) {
        return exaitemMapper.selectByPrimaryKey(exaitemId);
    }

    @Override
    public int updateByExampleSelective(Exaitem record,ExaitemExample example) {
        return exaitemMapper.updateByExampleSelective(record,example);
    }

    @Override
    public int updateByExample(Exaitem record,ExaitemExample example) {
        return exaitemMapper.updateByExample(record,example);
    }

    @Override
    public int updateByPrimaryKeySelective(Exaitem record) {
        return exaitemMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(Exaitem record) {
        return exaitemMapper.updateByPrimaryKey(record);
    }

    @Override
    public List<Exaitem> exaitemidList() {
        return exaitemMapper.selectByExample(null);
    }




}
